package com.ruoyi.refund.service;

import java.util.List;
import com.ruoyi.refund.domain.RefundDetail;

/**
 * 退款明细Service接口
 * 
 * @author ruoyi
 * @date 2025-09-04
 */
public interface IRefundDetailService 
{
    /**
     * 查询退款明细
     * 
     * @param id 退款明细主键
     * @return 退款明细
     */
    public RefundDetail selectRefundDetailById(Long id);

    /**
     * 查询退款明细列表
     * 
     * @param refundDetail 退款明细
     * @return 退款明细集合
     */
    public List<RefundDetail> selectRefundDetailList(RefundDetail refundDetail);

    /**
     * 新增退款明细
     * 
     * @param refundDetail 退款明细
     * @return 结果
     */
    public int insertRefundDetail(RefundDetail refundDetail);

    /**
     * 修改退款明细
     * 
     * @param refundDetail 退款明细
     * @return 结果
     */
    public int updateRefundDetail(RefundDetail refundDetail);

    /**
     * 批量删除退款明细
     * 
     * @param ids 需要删除的退款明细主键集合
     * @return 结果
     */
    public int deleteRefundDetailByIds(Long[] ids);

    /**
     * 删除退款明细信息
     * 
     * @param id 退款明细主键
     * @return 结果
     */
    public int deleteRefundDetailById(Long id);
}
